package com.china08.yxyapi.repository.db.continuedu;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.continuedu.YxyContinueduLesson;

public interface YxyContinueduLessonRepository extends JpaRepository<YxyContinueduLesson, String> {
    YxyContinueduLesson findById(String id);

    Page<YxyContinueduLesson> findByStatusAndIsVisibleAndAreaCodeProvince(int i, int j, String areaIdProvince,
            Pageable pageable);

    Page<YxyContinueduLesson> findByStatusAndIsVisibleAndAreaCodeProvinceAndNameContaining(int i, int j,
            String areaIdProvince, String keyword, Pageable pageable);

    Page<YxyContinueduLesson> findByIdIn(List<String> lessonIdStrings, Pageable pageable);
}
